/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DirRegionalView.java
 *
 * Created on 14/06/2013, 09:54:49
 */
package boundary;

import javax.swing.JMenuItem;

/**
 *
 * @author jakson
 */
public class DirRegionalView extends javax.swing.JDialog {

    /** Creates new form DirRegionalView */
    public DirRegionalView(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }

    public JMenuItem getItmAbrirConta() {
        return itmAbrirConta;
    }

    public JMenuItem getItmConsultar() {
        return itmConsultar;
    }

    public JMenuItem getItmConsultarMovimento() {
        return itmConsultarMovimento;
    }

    public JMenuItem getItmDesativarGerente() {
        return itmDesativarGerente;
    }

    public JMenuItem getItmManterAgencia() {
        return itmManterAgencia;
    }

    public JMenuItem getItmSair() {
        return itmSair;
    }

    public JMenuItem getItmTransferir() {
        return itmTransferir;
    }

    public JMenuItem getItmCadastroGerente() {
        return itmCadastroGerente;
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        itmCadastroGerente = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        itmManterAgencia = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        itmDesativarGerente = new javax.swing.JMenuItem();
        itmTransferir = new javax.swing.JMenuItem();
        itmConsultarMovimento = new javax.swing.JMenuItem();
        jMenu5 = new javax.swing.JMenu();
        itmAbrirConta = new javax.swing.JMenuItem();
        itmConsultar = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        itmSair = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Menu Diretor Regional");

        jPanel1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 4, true));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 502, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 143, Short.MAX_VALUE)
        );

        jMenu1.setText("Cadastro");

        itmCadastroGerente.setText("Gerente");
        jMenu1.add(itmCadastroGerente);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Manter");

        itmManterAgencia.setText("Agências");
        jMenu2.add(itmManterAgencia);

        jMenuBar1.add(jMenu2);

        jMenu4.setText("Opções");

        itmDesativarGerente.setText("Desativar Acesso Gerente");
        jMenu4.add(itmDesativarGerente);

        itmTransferir.setText("Transferir Gerente");
        jMenu4.add(itmTransferir);

        itmConsultarMovimento.setText("Consultar movimento Agências");
        jMenu4.add(itmConsultarMovimento);

        jMenuBar1.add(jMenu4);

        jMenu5.setText("Conta");

        itmAbrirConta.setText("Abrir Conta");
        jMenu5.add(itmAbrirConta);

        itmConsultar.setText("Consultar Conta");
        jMenu5.add(itmConsultar);

        jMenuBar1.add(jMenu5);

        jMenu3.setText("Sair");

        itmSair.setText("Sair");
        jMenu3.add(itmSair);

        jMenuBar1.add(jMenu3);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(84, 84, 84)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(94, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(DirRegionalView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(DirRegionalView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(DirRegionalView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(DirRegionalView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the dialog */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                DirRegionalView dialog = new DirRegionalView(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {

                    @Override
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem itmAbrirConta;
    private javax.swing.JMenuItem itmCadastroGerente;
    private javax.swing.JMenuItem itmConsultar;
    private javax.swing.JMenuItem itmConsultarMovimento;
    private javax.swing.JMenuItem itmDesativarGerente;
    private javax.swing.JMenuItem itmManterAgencia;
    private javax.swing.JMenuItem itmSair;
    private javax.swing.JMenuItem itmTransferir;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JPanel jPanel1;
    // End of variables declaration//GEN-END:variables
}
